/**
 * @description 请求地址URL常量
 */
 const urlArr = {
  buildtoken_url: "/systemservice/api/auth/buildtoken",//登录
  refreshtoken_url: "/systemservice/api/auth/refreshtoken",
  getuserinfo_url: "/systemservice/api/system/getuserinfo",
  getmenulist_url: "/systemservice/api/system/getmenulist",
  getmenutree_url: "/systemservice/api/system/getmenutree",

  /* 机构Org Url */
  getorgtree_url: "/systemservice/api/org/getorgtree",
  getorglist_url: "/systemservice/api/org/getorglist/", //获取机构树
  searchorglist_url: "/systemservice/api/org/searchorglist",
  createorg_url: "/systemservice/api/org/createorg", //新增机构
  updateorg_url: "/systemservice/api/org/updateorg", //修改机构信息
  deleteorg_url: "/systemservice/api/org/deleteorg", //删除机构信息

  /** 职员Emp Url */
  queryemppagelist_url: "/systemservice/api/emp/querypagelist",
  createemp_url: "/systemservice/api/emp/createemp",
  updateemp_url: "/systemservice/api/emp/updateemp",
  deleteemp_url: "/systemservice/api/emp/deleteemp",

  /** 角色Role Url */
  queryrolepagelist_url: "/systemservice/api/role/querypagelist", //获取角色
  createrole_url: "/systemservice/api/role/createrole",
  updaterole_url: "/systemservice/api/role/updaterole",
  deleterole_url: "/systemservice/api/role/deleterole",
  changerolestate_url: "/systemservice/api/role/changestate",
  getucbyroleid_url: "/systemservice/api/role/getucbyroleid",
  setroleuc_url: "/systemservice/api/role/setroleuc",
  getrolelistbytype_url: "/systemservice/api/role/getrolelistbytype",
  getrolelist_url: "/systemservice/api/role/getrolelist", //获取角色
  getrolelistbyuserid_url: "/systemservice/api/role/getrolelistbyuserid", //通过userid获取角色列表
  setroleuser_url: "/systemservice/api/role/setroleuser", //设置角色权限

  /** 用户User Url */
  queryuserpagelist_url: "/systemservice/api/user/querypagelist", //获取用户信息列表
  createuser_url: "/systemservice/api/user/createuser", //新增系统用户
  updateuser_url: "/systemservice/api/user/updateuser", //修改
  deleteuser_url: "/systemservice/api/user/deleteuser", //删除
  changeuserstate_url: "/systemservice/api/user/changestate",
  queryonlineuserpagelist_url:
    "/systemservice/api/user/queryonlineuserpagelist",
  deleteonlineuserbyid_url: "/systemservice/api/user/deleteonlineuserbyid",
  deleteonlineuserbyids_url: "/systemservice/api/user/deleteonlineuserbyids",
  resetuserpwd_url: "/systemservice/api/user/resetuserpwd",
  modifyselfpwd_url: "/systemservice/api/user/modifyselfpwd",

  /** 字典Dic Url */
  getdiclist_url: "/system/api/dic/getdiclist",
  getdictypelist_url: "/system/api/dic/getdictypelist",
  createdic_url: "/system/api/dic/createdic",
  updatedic_url: "/system/api/dic/updatedic",
  deletedic_url: "/system/api/dic/deletedic",
  getdicbytype_url: "/system/api/dic/getdicbytype",
  getdicbytypes_url: "/system/api/dic/getdicbytypes",
  getmtrparamdictypelist_url: "/system/api/dic/getmtrparamdictypelist",

  /** 日志Log Url */
  querylogpagelist_url: "/systemservice/api/log/querylogpagelist",
  deletelogbyid_url: "/systemservice/api/log/deletelogbyid",
  deletelogbyids_url: "/systemservice/api/log/deletelogbyids",

  /** 客户Cust Url */
  getclasslist_url: "/system/api/cust/getclasslist",
  createclass_url: "/system/api/cust/createclass",
  updateclass_url: "/system/api/cust/updateclass",
  deleteclass_url: "/system/api/cust/deleteclass",
  querycustpagelist_url: "/system/api/cust/querypagelist",
  createcustomer_url: "/system/api/cust/createcustomer",
  updatecustomer_url: "/system/api/cust/updatecustomer",
  deletecustomer_url: "/system/api/cust/deletecustomer",

  /* ***基础——》物料参数 Url */
  queryparampagelist_url: "/basic/param/queryparampagelist",
  getparamlist_url: "/basic/param/getparamlist",
  createparam_url: "/basic/param/createparam",
  updateparam_url: "/basic/param/updateparam",
  deleteparam_url: "/basic/param/deleteparam",
  /* ***基础——》加工资源/设备资源 Url */
  querysourcepagelist_url: "/basic/procsource/querysourcepagelist",
  createsource_url: "/basic/procsource/createsource",
  updatesource_url: "/basic/procsource/updatesource",
  deletesource_url: "/basic/procsource/deletesource",
  procres_getclasslist_url: "/basic/procsource/getclasslist",
  procres_createclass_url: "/basic/procsource/createclass",
  procres_updateclass_url: "/basic/procsource/updateclass",
  procres_deleteclass_url: "/basic/procsource/deleteclass",

  /* ***基础——》资源组matchinecell Url */
  query_matchinecell: "/basic/matchinecell/query",
  query_allprocess: "/basic/matchinecell/queryAll",
  getsharerolelist_matchinecell: "/basic/matchinecell/getsharerolelist",
  del_matchinecell: "/basic/matchinecell/delete",
  create_matchinecell: "/basic/matchinecell/create",
  update_matchinecell: "/basic/matchinecell/update",
  get_matchinecell: "/basic/matchinecell/getById",
  /* ***基础——》工序procedure Url */
  query_procedure: "/basic/procedure/query",
  del_procedure: "/basic/procedure/delete",
  create_procedure: "/basic/procedure/create",
  update_procedure: "/basic/procedure/update",
  get_procedure: "/basic/procedure/getById",
  /* ***基础——》物料品种 Variety Url */
  query_variety: "/basic/variety/query",
  del_variety: "/basic/variety/delete",
  create_variety: "/basic/variety/create",
  update_variety: "/basic/variety/update",
  get_variety: "/basic/variety/getVarietyById",
  /* ***基础——》物资型号materialmodel Url */
  queryTree_goodClass: "/basic/materialmodel/queryClassTree",
  create_goodClass: "/basic/materialmodel/createClass",
  update_goodClass: "/basic/materialmodel/updateClass",
  del_goodClass: "/basic/materialmodel/deleteClass",

  query_materialmodel: "/basic/materialmodel/queryModel",
  del_materialmodel: "/basic/materialmodel/deleteMode",
  create_materialmodel: "/basic/materialmodel/createMode",
  update_materialmodel: "/basic/materialmodel/updateMode",
  get_materialmodel: "/basic/materialmodel/getModeById",
  get_VarietyProcesslist: "/basic/materialmodel/getvarietyprocesslist",
  /* ***基础——》工厂日历Calendar Url */
  query_calendar: "/basic/calendar/query",
  del_calendar: "/basic/calendar/delete",
  create_calendar: "/basic/calendar/create",
  update_calendar: "/basic/calendar/update",
  get_calendar: "/basic/calendar/getcalendarbyid",
  /* ***基础——》产品资料product Url */
  query_taskList: "/basic/task/list",
  query_product: "/basic/product/query",
  del_product: "/basic/product/delete",
  create_product: "/basic/product/create",
  update_product: "/basic/product/update",
  get_product: "/basic/product/getProductById",

  /* ***销售管理——》销售订单order Url */
  order_getall: "/businese/schedule/getproductionschedulingnotcompleted", //获取所有订单
  order_getpagelist: "/businese/order/getpagelist",
  order_getbyid: "/businese/order/getbyid",
  order_create: "/businese/order/create",
  order_update: "/businese/order/update",
  order_updatestatusbyid: "/businese/order/updatestatusbyid",
  order_deletebyid: "/businese/order/deletebyid",

  /* ***生产管理——》生产任务单worksheet Url */
  worksheet_getpagelist: "/businese/worksheet/getpagelist",
  worksheet_getbyid: "/businese/worksheet/getbyid",
  worksheet_create: "/businese/worksheet/create",
  worksheet_update: "/businese/worksheet/update",
  worksheet_updatestatusbyid: "/businese/worksheet/updatestatusbyid",
  worksheet_updateproductionstatebyid:
    "/businese/worksheet/updateproductionstatebyid",
  worksheet_deletebyid: "/businese/worksheet/deletebyid",

  /* ***生产管理——》资源状态变更单 sourceapply Url */
  sourceapply_getpagelist: "/businese/sourceapply/getpagelist",
  sourceapply_getbyid: "/businese/sourceapply/getbyid",
  sourceapply_create: "/businese/sourceapply/create",
  sourceapply_update: "/businese/sourceapply/update",
  sourceapply_updatestatusbyid: "/businese/sourceapply/updatestatusbyid",
  sourceapply_deletebyid: "/businese/sourceapply/deletebyid",

  /* ***生产管理——》生产报工单 productionRecord Url */
  productionRecord_getpagelist: "/businese/productionrecord/getpagelist",
  productionRecord_getbyid: "/businese/productionrecord/getbyid",
  productionRecord_create: "/businese/productionrecord/create",
  productionRecord_update: "/businese/productionrecord/update",
  productionRecord_updatestatusbyid:
    "/businese/productionrecord/updatestatusbyid",
  productionRecord_deletebyid: "/businese/productionrecord/deletebyid",

  /* ***工作流  Url */
  workflow_commit: "/businese/workflow/commit",
  workflow_audit: "/businese/workflow/audit",
  workflow_undoaudit: "/businese/workflow/undoaudit",
  workflow_cancelaudit: "/businese/workflow/cancelaudit",
  workflow_getaudithistory: "/businese/workflow/getaudithistory",
  workflow_getaudittask: "/businese/workflow/getaudittask",

  /* ***生产管理 高级排程  Url */
  schedule_getsortrules: "/businese/schedule/getsortrules",
  schedule_deletesortrule: "/businese/schedule/deletesortrule",
  schedule_savesortrule: "/businese/schedule/savesortrule",
  schedule_getlotrules: "/businese/schedule/getlotrules",
  schedule_deletelotrule: "/businese/schedule/deletelotrule",
  schedule_savelotrule: "/businese/schedule/savelotrule",
  schedule_createorloadcurrentschedule:
    "/businese/schedule/createorloadcurrentschedule",
  schedule_cancelcurrentschedule: "/businese/schedule/cancelcurrentschedule",
  schedule_generatecurrentschedule:
    "/businese/schedule/generatecurrentschedule",
  schedule_publishcurrentschedule: "/businese/schedule/publishcurrentschedule",
  schedule_getunscheduleorders: "/businese/schedule/getunscheduleorders",
  schedule_addscheduleorder: "/businese/schedule/addscheduleorder",
  schedule_removescheduleorder: "/businese/schedule/removescheduleorder",
  schedule_movescheduleorder: "/businese/schedule/movescheduleorder",
  schedule_getscheduleoptions: "/businese/schedule/getscheduleoptions",
  schedule_savescheduleoptions: "/businese/schedule/savescheduleoptions",
  schedule_getcellscheduledto: "/businese/schedule/getcellscheduledto",
  schedule_getscheduleresultbyid: "/businese/schedule/getscheduleresultbyid",
  schedule_publishschedule: "/businese/schedule/publishschedule",
  schedule_modifyscheduleresult: "/businese/schedule/modifyscheduleresult",
  schedule_getresultemployees: "/businese/schedule/getresultemployees",
  // 新改生产报工获取资源组
  schedule_getMatchinecell: "/businese/schedule/getMatchinecell",
  schedule_scheduleResultList: "/businese/schedule/scheduleResultList",
  schedule_startScheduleResult: "/businese/schedule/startScheduleResult", //开始报工
  schedule_endScheduleResult: "/businese/schedule/endScheduleResult", //结束报工
  schedule_getScheduleResultById: "/businese/schedule/getscheduleResultById", //获取报工详情
  /* ***附件管理  Url */
  attachment_getlist: "/businese/attachment/getlist",
  attachment_getbyid: "/businese/attachment/getbyid",
  attachment_create: "/businese/attachment/create",
  attachment_deletebyid: "/businese/attachment/deletebyid",

  /* ***上传文件  Url */
  uploadfile_create: "/businese/uploadfile/create",
  uploadfile_getbyid: "/businese/uploadfile/getbyid",
  uploadfile_deletebyid: "/businese/uploadfile/deletebyid",

  /* *** 排程查询 Url *** */
  queryschedulebyorder_pagelist:
    "/businese/schedule/queryschedulebyorderpagelist",
  queryschedulebyorder_pagetree:
    "/businese/schedule/queryschedulebyorderpagetree",
  queryschedulebycell_pagelist:
    "/businese/schedule/queryschedulebycellpagelist",
};

export default { ...urlArr };
